#include "CRectangle.h"
CRectangle::CRectangle (int w,int h):CPolygon (w)
{
	height=h;
}
int CRectangle::area()
{
	return (width*height);
}